package com.jmb.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum FactoryType implements BaseEnum{
    SQL(0,"SQL"),
    API(1,"接口"),
    UI(2,"UI");



    @EnumValue
    @JsonValue
    private Integer code;
    private String name;

    FactoryType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.name;
    }
}
